package com.easylinkin.linkappapi.openapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.openapi.dto.SystemDockDevice;

import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

/**
 * SystemDockDevice表数据库访问层
 *
 * @author CodeGenerator
 * @date 2023/05/12
 */
public interface SystemDockDeviceMapper extends BaseMapper<SystemDockDevice> {


    /**
     * 查询分页
     *
     * @param page        分页参数对象
     * @param systemDockDevice 过滤参数对象
     * @return 查询分页结果
     */
    IPage<SystemDockDevice> selectPage(Page page, @Param("systemDockDevice") SystemDockDevice systemDockDevice);
    
    List<SystemDockDevice> selectPage(@Param("systemDockDevice") SystemDockDevice systemDockDevice);

    /**
     * 查询单条
     *
     * @param id 主键id
     * @return 查询结果
     */
    SystemDockDevice getOneById(@Param("id") Serializable id);
}

